import request from '@/utils/request.js'
export const loginAPI = (values) => {
    return request.post('/user/login', values)
}
export const registerAPI = (values) => {
        return request.post('/user/register', values)
    }
    //request.post('/user/register', values)整体就是promise